package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * projectName: wokepase1
 *
 * @author: 强力
 * time: 2021/10/14 17:30
 * description:
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
//开启定时任务
@EnableScheduling
//实时同步配置中心的内容
@EnableAsync
public class MonitorApplication {
    public static void main(String[] args) {
        SpringApplication.run(MonitorApplication.class,args);
    }
}
